package com.example.application.service.impl;

import com.example.application.bean.StudentBean;
import com.example.application.dao.IStudentDao;
import com.example.application.dao.Impl.StudentDaoImpl;
import com.example.application.service.IStudentService;

import java.util.List;

public class StudentsServiceImpl implements IStudentService {

    private IStudentDao iStudentDao = new StudentDaoImpl();

    @Override
    public List<StudentBean> showAllStudents() {
        return iStudentDao.showAllStudents();
    }
}
